package com.xydzxt.www.service;

import com.xydzxt.www.dao.UserDao;
import com.xydzxt.www.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    UserDao userDao;

    public boolean selectAllUser(User user){
        return userDao.selectAllUser(user);
    }
    public User valiUser(User user){
        return userDao.valiUser(user);
    }

}
